export interface RoomMessageItemModel {
  id: number
  room_id: number
  user_id: number
  message_id: number
  name: string
  start_time: string
  theme: string
  user_count: number
  replied_count: number
  created_at: string
}

export interface MessageItemModel {
  id: number
  corp_id: number
  sender_id: number
  receiver_id: number
  msg_id: number
  is_myself?: number
  msg_type: number
  app_info: string
  revoke_app_info: string
  content: string
  data: string
  at_user_ids: string
  is_room: number
  status: number
  send_time: string
  nickname: string
  realname: string
  avatar: string
}

/** account_type
 * 账号类型：1=企业微信，2=微信
 * */
export interface UserInfoItemModel {
  id: number
  room_stat_id: number
  room_member_id: number
  is_contact: number
  account_type: number
  content: string
  status: number
  created_at: string
  external_user_id?: string
  nickname: string
  realname: string
  avatar: string
}

export enum AccountType {
  WeCom = 1,
  WeChat = 2,
}
